IsParentNode Method

Returns if one Node object is a parent of another Node object in the TreeView control.

Syntax

object.IsParentNode(ChildNode, ParentNode )

The IsParentNode Method syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
ChildNode Required. A valid Node (MSComctlLib.Node) object.
ParentNode Required. A valid Node (MSComctlLib.Node) object.

Settings

The settings for IsParentNode Method are:

Setting Description
True ParentNode is the parent of ChildNode.
False ParentNode is not the parent of ChildNode.

Remarks